import service from '../utils/request'
//查询
export function getInfo(data: any) {
  return service({
    url: `/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery.common.kdsvc`,
    method: 'POST',
    data
  })
}

//批量保存
export function batchSave(data: any) {
  return service({
    url: `/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.BatchSave.common.kdsvc`,
    method: 'POST',
    data
  })
}

export function login(data: any) {
  return service({
    url: `/Kingdee.BOS.WebApi.ServicesStub.AuthService.ValidateUser.common.kdsvc`,
    method: 'POST',
    data
  })
}
// 修改
export function save(data: any) {
  return service({
    url: `/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.Save.common.kdsvc`,
    method: 'POST',
    data
  })
}
export function queryGroupInfo(data: any) {
  return service({
    url: `/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.ExecuteBillQuery.common.kdsvc`,
    method: 'POST',
    data
  })
}
export function oneQuery(data: any) {
  return service({
    url: `/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.View.common.kdsvc`,
    method: 'POST',
    data
  })
}
export function GetSysReportData(data: any) {
  return service({
    url: `/Kingdee.BOS.WebApi.ServicesStub.DynamicFormService.GetSysReportData.common.kdsvc`,
    method: 'POST',
    data
  })
}
